﻿using System;
using System.Collections.Generic;
//using System.Linq;
using System.Text;

namespace DaFunction.Mobile
{
    //服务器端管理用户用
    public class MobileUser
    {
        public String IMEI;
        public String UserName;
        public String AccountID;
        public String Key;
        public String SeedKey;
        public String IP;
        public int Port;
        public Boolean IsLogin;
        public DateTime LoginTime;
        public DateTime VisitTime;

        public String Decrypt(String value)
        {
            return AES.Decrypt(value, SeedKey);
        }
    }

    public class PublicKeyTemp
    {
        public String SeedKey;
        public DateTime VistTime;
        
    }
}
